﻿using MyMes.Dto;
using MyMES.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Core.Utilities.Response;
using VOL.Entity.DomainModels;
using VOL.Entity.DomainModels.Core;
using VOL.Entity.DomainModels.Repository;

namespace MyMES.IServices.ToolingFixtureLedger
{
    public interface IToolingFixtureLedgerService
    {
        /// <summary>
        /// 添加工装夹具台账信息
        /// </summary>
        /// <param name="toolingFixtureLedger">工装夹具台账实体</param>
        /// <returns></returns>
        Task<WebResponseContent> AddToolingfixtureledgerModel(toolingfixtureledger toolingFixtureLedger);
        /// <summary>
        /// 修改工装夹具台账信息
        /// </summary>
        /// <param name="toolingFixtureLedger">工装夹具台账实体</param>
        /// <returns></returns>
        Task<WebResponseContent> UpdateToolingfixtureledgerModel(toolingfixtureledger toolingFixtureLedger);
        /// <summary>
        /// 删除工装夹具台账信息
        /// </summary>
        /// <param name="toolingfixtureledger">工装夹具台账实体</param>
        /// <returns>操作结果</returns>
        Task<WebResponseContent> DelToolingfixtureledgerModel(toolingfixtureledger toolingFixtureLedger);
        Task<PageGridData<toolingfixtureledger>> GetToolingfixtureledgers(string? code,string? name,string? type,int? isStatus,int pageIndex = 1,int pageSize = 10);

    }
}
